package com.example.foobar.business.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.example.foobar.dto.DABaseDTO;
import com.example.foobar.entity.DaQrcodeNewCommerCount;
import com.example.foobar.entity.DaUserChangeRecord;
import com.example.foobar.param.DaUserChangeRecordPageParam;
import io.geekidea.springbootplus.framework.core.pagination.Paging;

import java.util.Date;
import java.util.List;

/**
 * 本地公众号信息 服务类
 *
 * @author 郑英奔
 * @since 2021-05-31
 */
public interface DaQrcodeNewCommerCountService {

    boolean saveDaQrcodeNewCommerCount(DaQrcodeNewCommerCount daQrcodeNewCommerCount);

    boolean updateDaQrcodeNewCommerCount(DaQrcodeNewCommerCount daQrcodeNewCommerCount);

    boolean deleteDaQrcodeNewCommerCount(Long id);

    DaQrcodeNewCommerCount getById(Long id);

    void remove(QueryWrapper<DaQrcodeNewCommerCount> daQrcodeNewCommerCountQueryWrapper);

    void saveBatch(List<DaQrcodeNewCommerCount> daQrcodeNewCommerCountList);

    List<DaQrcodeNewCommerCount> getDaNewCommerByUniacidAndDate(String sceneId, Date baseDate);
}
